Optimal. Leaf size=55 \[ \frac {(b d+2 c d x)^{5/2}}{20 c^2 d^3}-\frac {\left (b^2-4 a c\right ) \sqrt {b d+2 c d x}}{4 c^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {683} \[ \frac {(b d+2 c d x)^{5/2}}{20 c^2 d^3}-\frac {\left (b^2-4 a c\right ) \sqrt {b d+2 c d x}}{4 c^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 683
Rubi steps
\begin {align*} \int \frac {a+b x+c x^2}{\sqrt {b d+2 c d x}} \, dx &=\int \left (\frac {-b^2+4 a c}{4 c \sqrt {b d+2 c d x}}+\frac {(b d+2 c d x)^{3/2}}{4 c d^2}\right ) \, dx\\ &=-\frac {\left (b^2-4 a c\right ) \sqrt {b d+2 c d x}}{4 c^2 d}+\frac {(b d+2 c d x)^{5/2}}{20 c^2 d^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 43, normalized size = 0.78 \[ \frac {\left (c \left (5 a+c x^2\right )-b^2+b c x\right ) \sqrt {d (b+2 c x)}}{5 c^2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.83, size = 40, normalized size = 0.73 \[ \frac {{\left (c^{2} x^{2} + b c x - b^{2} + 5 \, a c\right )} \sqrt {2 \, c d x + b d}}{5 \, c^{2} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.20, size = 116, normalized size = 2.11 \[ \frac {60 \, \sqrt {2 \, c d x + b d} a - \frac {10 \, {\left (3 \, \sqrt {2 \, c d x + b d} b d - {\left (2 \, c d x + b d\right )}^{\frac {3}{2}}\right )} b}{c d} + \frac {15 \, \sqrt {2 \, c d x + b d} b^{2} d^{2} - 10 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b d + 3 \, {\left (2 \, c d x + b d\right )}^{\frac {5}{2}}}{c d^{2}}}{60 \, c d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 44, normalized size = 0.80 \[ \frac {\left (2 c x +b \right ) \left (c^{2} x^{2}+b c x +5 a c -b^{2}\right )}{5 \sqrt {2 c d x +b d}\, c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.36, size = 116, normalized size = 2.11 \[ \frac {60 \, \sqrt {2 \, c d x + b d} a - \frac {10 \, {\left (3 \, \sqrt {2 \, c d x + b d} b d - {\left (2 \, c d x + b d\right )}^{\frac {3}{2}}\right )} b}{c d} + \frac {15 \, \sqrt {2 \, c d x + b d} b^{2} d^{2} - 10 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b d + 3 \, {\left (2 \, c d x + b d\right )}^{\frac {5}{2}}}{c d^{2}}}{60 \, c d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 37, normalized size = 0.67 \[ \frac {\sqrt {b\,d+2\,c\,d\,x}\,\left (20\,a\,c+{\left (b+2\,c\,x\right )}^2-5\,b^2\right )}{20\,c^2\,d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 10.54, size = 258, normalized size = 4.69 \[ \begin {cases} \frac {- \frac {a b}{\sqrt {b d + 2 c d x}} - \frac {a \left (- \frac {b d}{\sqrt {b d + 2 c d x}} - \sqrt {b d + 2 c d x}\right )}{d} - \frac {b^{2} \left (- \frac {b d}{\sqrt {b d + 2 c d x}} - \sqrt {b d + 2 c d x}\right )}{2 c d} - \frac {3 b \left (\frac {b^{2} d^{2}}{\sqrt {b d + 2 c d x}} + 2 b d \sqrt {b d + 2 c d x} - \frac {\left (b d + 2 c d x\right )^{\frac {3}{2}}}{3}\right )}{4 c d^{2}} - \frac {- \frac {b^{3} d^{3}}{\sqrt {b d + 2 c d x}} - 3 b^{2} d^{2} \sqrt {b d + 2 c d x} + b d \left (b d + 2 c d x\right )^{\frac {3}{2}} - \frac {\left (b d + 2 c d x\right )^{\frac {5}{2}}}{5}}{4 c d^{3}}}{c} & \text {for}\: c \neq 0 \\\frac {a x + \frac {b x^{2}}{2}}{\sqrt {b d}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________